<!DOCTYPE html>
<html>
<head>
  <title><%= locals.title %> - Microblog</title>
  <link rel='stylesheet' href='/stylesheets/bootstrap.css'/>
  <link rel='stylesheet' href='/stylesheets/bootstrap-theme.css'/>
</head>
<body>
<nav class="navbar navbar-inverse navbar-default" role="navigation">
  <div class="container-fluid">
    <div class="container">
      <div class="navbar-header">
        <a class="navbar-brand" href="#">Microblog</a>
      </div>
      <ul class="nav navbar-nav">
        <li class="active"><a href="#">登入</a></li>
        <li><a href="#">注册</a></li>
      </ul>
    </div>
  </div>
</nav>
<div id="container" class="container">
  <% if (locals.err) { %>
  <div class="alert alert-danger">
    <%= locals.err %>
  </div>
  <% } %>
  <%- body %>
  <hr/>
  <footer>
    <p><a href="http://www.byvoid.com/" target="_blank">BYVoid</a> 2012</p>
  </footer>
</div>
</body>
<script src="/javascripts/jquery-1.11.0.min.js"></script>
<script src="/javascripts/bootstrap.js"></script>
</html>